import http from '../index'

const api = '/store/cashier'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function post(data) {
  return http.post(api, data)
}

export function pay(data) {
  return http.post(api + '/pay', data)
}
